export default [
    {
        path: '/',
        name: 'home',
        meta:{
            title:"首页",
            name: 1
        },
        component: () =>
            import('./../views/Home.vue')
    },
    {
        path: '/about',
        name: 'about',
        meta:{
            title:"关于",
            needBack: true
        },
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import('./../views/About.vue')
    },
    {
        path: '/demo',
        name: 'demo',
        meta:{
            title:"我",
            name: 2
        },
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () =>
            import('./../views/demo.vue')
    }
]
